﻿//MIOS.master.cs
////////////////////////////////////////
////////////////////////////////////////
//用户模板
////////////////////////////////////////
////////////////////////////////////////
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class MIOS : System.Web.UI.MasterPage
{
    CommonClass ccObj = new CommonClass();
    protected void Page_Load(object sender, EventArgs e)
    {
    }
    protected void LinkButton1_Click(object sender, EventArgs e)
    {
        Response.Redirect("Default.aspx");
    }
    protected void LinkButton2_Click(object sender, EventArgs e)
    {
        //点击我的购物车，若还没登录，先登录
        if (Session["User"] != null)
            Response.Redirect("Cart.aspx");
        else
            Response.Write(ccObj.MessageBox("请先登录！", "Default.aspx"));
    }
    protected void LinkButton3_Click(object sender, EventArgs e)
    {
        //点击我的订单，若还没登录，先登录
        if (Session["User"] != null)
            Response.Redirect("Delivery.aspx");
        else
            Response.Write(ccObj.MessageBox("请先登录！", "Default.aspx"));
    }
}
